package com.hbnu.system.controller;


import com.hbnu.system.core.base.Rest;
import com.hbnu.system.service.DeveloperParameterService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * (DeveloperParameter)表控制层
 *
 * @author makejava
 * @since 2023-09-18 20:24:05
 */
@RestController
@RequestMapping("developerParameter")
@Api(tags = "参数模块")
public class DeveloperParameterController {
    @Autowired
    DeveloperParameterService developerParameterService;

    @ApiOperation("统计分类查询")
    @PostMapping ("/FXselect")
    public Rest<List<String>> FXselect(){
        List<String> page = developerParameterService.FXSelect();
        return Rest.success(page);
    }
    @ApiOperation("所属机构查询")
    @PostMapping ("/ZZselect")
    public Rest<List<String>> ZZselect(){
        List<String> page = developerParameterService.ZZSelect();
        return Rest.success(page);
    }
    @ApiOperation("署名单位查询")
    @PostMapping ("/AVselect")
    public Rest<List<String>> AVselect(){
        List<String> page = developerParameterService.AVSelect();
        return Rest.success(page);
    }
    @ApiOperation("刊物分类查询")
    @PostMapping ("/ADselect")
    public Rest<List<String>> ADselect(){
        List<String> page = developerParameterService.ADSelect();
        return Rest.success(page);
    }
    @ApiOperation("论文分类查询")
    @PostMapping ("/YUselect")
    public Rest<List<String>> YUselect(){
        List<String> page = developerParameterService.YUSelect();
        return Rest.success(page);
    }
    @ApiOperation("论文来源查询")
    @PostMapping ("/AZselect")
    public Rest<List<String>> AZselect(){
        List<String> page = developerParameterService.AZSelect();
        return Rest.success(page);
    }
    @ApiOperation("研究类别查询")
    @PostMapping ("/CZselect")
    public Rest<List<String>> CZselect(){
        List<String> page = developerParameterService.CZSelect();
        return Rest.success(page);
    }
    @ApiOperation("一级论文查询")
    @PostMapping ("/BZselect")
    public Rest<List<String>> BZselect(){
        List<String> page = developerParameterService.BZSelect();
        return Rest.success(page);
    }
}

